#ifndef PLANCHE_H
#define PLANCHE_H

#include <QLabel>
#include <QPixmap>
#include <QMouseEvent>
#include <QPolygon>

class Planche : public QLabel
{
    Q_OBJECT
public:
    explicit Planche(int,int,QWidget *parent = 0);
    ~Planche();
    Planche& operator=(const Planche& p );
    void mousePressEvent(QMouseEvent *me);
    void mouseReleaseEvent(QMouseEvent *ev);
    void mouseMoveEvent(QMouseEvent *ev);
    QPixmap *pixmap;
    QPolygon *polygon;
    bool down;

signals:
    
public slots:
    
};

#endif // PLANCHE_H
